package com.tjmc.company;

import com.tjmc.recruit.common.feign.annotation.EnableRecruitFeignClients;
import com.tjmc.recruit.common.security.annotation.EnableRecruitResourceServer;
import com.tjmc.recruit.common.swagger.annotation.EnableRecruitDoc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableRecruitDoc(value = "company")
@EnableRecruitFeignClients(basePackages = {"com.tjmc.recruit.finance.api.feign", "com.tjmc.recruit.admin.api.feign", "com.tjmc.recruit.user.feign"})
@EnableRecruitResourceServer
@EnableDiscoveryClient
@SpringBootApplication
@EnableAsync
@EnableScheduling
public class RecruitCompanyApplication {

    public static void main(String[] args) {
        SpringApplication.run(RecruitCompanyApplication.class, args);
    }
}